<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org" xmlns:shiro="http://www.pollix.at/thymeleaf/shiro">
<meta charset="utf-8">
<head th:include="include :: header"></head>
<body class="gray-bg">
<div class="wrapper wrapper-content ">
    <div class="row">
        <div class="col-sm-12">
            <div class="ibox float-e-margins">
                <div class="ibox-content">
                    <form class="form-horizontal m-t" id="signupForm">
                        <input id="id" name="id" th:value="${product.id}" type="hidden">
                        <div class="form-group">
                            <label class="col-sm-3 control-label">名称：</label>
                            <div class="input-group col-sm-8">
                                <input id="productName" name="productName" th:value="${product.productName}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">描述介绍：</label>
                            <div class="input-group col-sm-8">
                                <input id="productDesc" name="productDesc" th:value="${product.productDesc}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">种类：</label>
                            <div class="input-group col-sm-8">
                                <input id="productType" name="productType" th:value="${product.productType}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">型号：</label>
                            <div class="input-group col-sm-8">
                                <input id="productModel" name="productModel" th:value="${product.productModel}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">二级型号：</label>
                            <div class="input-group col-sm-8">
                                <input id="secondModel" name="secondModel" th:value="${product.secondModel}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">产地：</label>
                            <div class="input-group col-sm-8">
                                <input id="originPlace" name="originPlace" th:value="${product.originPlace}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">直径：</label>
                            <div class="input-group col-sm-8">
                                <input id="diameter" name="diameter" th:value="${product.diameter}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">长度：</label>
                            <div class="input-group col-sm-8">
                                <input id="length" name="length" th:value="${product.length}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">宽度：</label>
                            <div class="input-group col-sm-8">
                                <input id="width" name="width" th:value="${product.width}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">厚度：</label>
                            <div class="input-group col-sm-8">
                                <input id="thickness" name="thickness" th:value="${product.thickness}"
                                       class="form-control" type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <label class="col-sm-3 control-label">密度：</label>
                            <div class="input-group col-sm-8">
                                <input id="density" name="density" th:value="${product.density}" class="form-control"
                                       type="text">
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="input-group  col-sm-8 col-sm-offset-3">
                                <button type="submit" class="btn btn-primary">提交</button>
                            </div>
                        </div>
                    </form>
                </div>
            </div>
        </div>
    </div>
</div>
<div th:include="include::footer"></div>
<script type="text/javascript" src="/js/appjs/sys/product/edit.js">
</script>
</body>
</html>
